<template>
  <div class="footer_bg">
    <div class="footer_section">
      <div class="left_section">
        <div class="title_bg">
          <div class="title_content" @click="$router.push({path: item.path})" v-for="(item, index) in titleList" :key = index>{{ item.title }}</div>
        </div>
        <div class="phone">客服电话：400-0629-666<span v-html="'&emsp;&emsp;&emsp;'"></span>邮箱：Service@utea88.com</div>
        <div class="copyright">Copyright © 广东众茶国际供应链管理有限公司<span v-html="'&emsp;&emsp;&emsp;'"></span>粤ICP备2021045794号 - 1<span v-html="'&emsp;&emsp;&emsp;'"></span>粤公网安备44190002005638号</div>
        <div class="auth">
          <a target="_blank" style="margin-right: 10px;" href="https://kx.xcc.cn/newCan/2024012202580617132"><img src="https://image.utea88.com/statics/pc_cooperation_auth.png" style="height:57px;"></a>
          <a target="_blank" href="https://xyt.xcc.cn/getpcInfo?sn=1518784762263543808&certType=8&url=*.utea88.com&language=CN"><img src="https://program.xinchacha.com/xyt/xcc_small_ssl.png" style="height:70px;"></a>
        </div>
      </div>
      <div class="right_section">
        <div class="code_section">
          <div class="code_img">
            <img src="@/assets/front-img/qrCode.png">
          </div>
          <div class="info_section">
            <div class="info_title">下载众茶国际APP</div>
            <div class="info_detail">随时随地自由交易</div>
          </div>
        </div>
        <div class="code_section">
          <div class="code_img">
            <img src="@/assets/front-img/service_code.png">
          </div>
          <div class="info_section">
            <div class="info_title">关注微信公众号</div>
            <div class="info_detail">时刻关注茶产业动态</div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>

export default {
  name: 'Footer',
  props: {},
  components: {

  },
  data() {
    return {
      titleList:[
        {title : "关于平台", path: "/front-help?id=75"}, 
        {title : "常见问题", path: "/front-help?id=16"}, 
        {title : "角色权限", path: "/front-help?id=30"}, 
        {title : "平台协议", path: "/front-help?id=24"}, 
      ]
    }
  },
  computed: {},
  watch: {},
  methods: {
    
  },
  created() {
    
  },
  mounted() {
    
  },
  beforeCreate() {},
  beforeMount() {},
  beforeUpdate() {},
  updated() {},
  beforeDestroy() {},
  destroyed() {},
  activated() {},
}
</script>

<style lang='scss' scoped>
  .footer_bg {
    width: 100%;
    height: 126px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(1, 92, 140, 1);

    .footer_section {
      position: relative;
      display: flex;
      width: 1300px;
      height: 96px;

      .left_section {
        position: relative;
        width: 780px;
        height: 100%;
        
        .title_bg {
          display: flex;
          margin-top: 5px;
          height: 20px;

          .title_content {
            margin-left: 30px;
            width: 86px;
            height: 20px;
            color: rgba(197, 213, 222, 1);
            font-size: 14px;
            line-height: 20px;
            font-weight: 400;
            line-height: 20px;
            border-right: 1px solid rgba(151, 175, 189, 1);
            cursor: pointer;

            &:hover {
              color: rgba(255, 255, 255, 1);
            }

            &:nth-child(1) {
              margin-left: 0px;
            }

            &:nth-last-child(1) {
              border-right: 0px;
            }
          }
        }

        .phone {
          margin-top: 15px;
          height: 20px;
          color: rgba(197, 213, 222, 1);
          font-size: 14px;
          line-height: 20px;
          font-weight: 400;
          line-height: 14px;
        }

        .copyright {
          margin-top: 15px;
          height: 20px;
          color: rgba(197, 213, 222, 1);
          font-size: 14px;
          line-height: 20px;
          font-weight: 400;
          line-height: 14px;
        }

        .auth {
          position: absolute;
          top: 0;
          right: 50px;
          width: 300px;
          height: 70px;
          display: flex;
          justify-content: flex-end;
          align-items: center;
          // background-color: oldlace;
        }
      }

      .right_section {
        flex: 1;
        display: flex;
        align-items: center;
        height: 100%;

        .code_section {
          display: flex;
          justify-content: center;
          margin-left: 30px;
          height: 96px;

          &:nth-child(1) {
            margin-left: 0;
          }

          .code_img {
            width: 96px;
            height: 96px;
            padding: 5px;
            background-color: #fff;

            img {
              width: 100%;
              height: auto;
            }
          }

          .info_section {
            margin-left: 20px;

            .info_title {
              margin-top: 23px;
              height: 20px;
              color: rgba(197, 213, 222, 1);
              font-size: 16px;
              line-height: 20px;
              font-weight: 400;
            }

            .info_detail {
              margin-top: 9px;
              height: 20px;
              color: rgba(118, 156, 181, 1);
              font-size: 14px;
              line-height: 20px;
              font-weight: 400;
            }
          }
        }
      }
    }
  }
</style>